﻿using System;
using System.Collections.Generic;
using System.Text;
using OneMG.Phoenix.Entity;
using OneMG.Phoenix.Service.Model;

namespace OneMG.Phoenix.Service.Contracts
{
    public interface ICategoryService
    {

        System.Int32 AddCategory(CategoryModel model);

		void UpdateByCategoryID (CategoryModel model );

		void DeleteByCategoryID (System.Int32 categoryID );
		 
        CategoryModel GetByCategoryID (System.Int32 categoryID );

        IList<CategoryModel> GetByParentID(System.Int32 parentID);
        
    }
}